<?php 
class contactsAction extends AdminMaster{
	public function listFilter(){	
		#$this->formFilter['filter_is_viewed'] = '-1';
	}
	public function showList(){
		$this->data['list']			 		= Contacts::getDataList($this->data['filter'], $this->data['pagination']);
		$this->data['pagination']['total']		= Contacts::getDataListCount($this->data['filter']);
		$this->data['pagination']['router']		= 'contact';
		$this->data['pagination']['params']		= $this->data['filter'];
	}
	public function delRecord(){
		ContactsTable::delete($this->data['select_list']);
	}
	public function disableRecord(){
		
	}
	public function enableRecord(){
		
	}
	public function saveOrder(){
		
	}
	public function addnew(){
		
	}
	public function edit(){
		
	}
}